package com.itheima.tlias.service;

import com.itheima.tlias.pojo.Clazz;
import com.itheima.tlias.pojo.PageResult;

import java.time.LocalDate;
import java.util.List;

public interface ClazzService {
	List<Clazz> list();

	void deleteById(Integer id);

	void save(Clazz clazz);


	Clazz getById(Integer id);

	void updateById(Clazz clazz);

	PageResult<Clazz> page(String name, LocalDate begin, LocalDate end, Integer page, Integer pageSize);
}
